<!DOCTYPE html>
<html>
    <head>
        <title>360湘江世纪城</title>
        <#include "controls/public_header.ftl">
		<script type="text/javascript" src="${model._contextPath}/web/resources/lib/utils/ajaxutil.js"></script>
        <link rel="stylesheet" href="${model._contextPath}/web/resources/lib/paging/pagebar.css" type="text/css">
		<script type="text/javascript" src="${model._contextPath}/web/resources/lib/paging/pagebar.js"></script>
        <script type="text/javascript">
        var pageBar;
        
        //填充主题列表
		function showData(me, rows){
			$("#subject").empty();
			var html = "";
			for(var i=0; i<rows.length; i++){
				html+="<li><span>"+rows[i].add_time+"</span><a href=\"${model._contextPath}/p100033.html?id="+rows[i].news_id+"\" target=\"_blank\">·"+rows[i].subject+"</a></li>";
			}
			$("#subject").append($(html));
		}
        
		$(function(){
			PubOPT.jsEventLoad(pageJsEvent);
		});
		
		function pageJsEvent() {
			$('#categorys').children('.mc').toggle();
			$(".item").hover(function(){
				$(this).toggleClass('hover');
			});
			
			pageBar = new PageBar("pageBar", "mypaging", "sjc_news_list_1", showData, {}, 7, 8);
		}
		</script>
    </head>
    <body>
		<div id="container">
			<#include "controls/header.ftl">
			<div id="main">
			    <!-- 导航-->
				<div class="Lay_1" style="height:32px">
					<div class="col_2" id="categorys">
						<div class="title_1">全部商品分类</div>
						<div class="mc">
							<#include "controls/categories.ftl">
						</div>
					</div>
					<div class="col_3">
						<#include "controls/top_nav.ftl">
						<div class="xxlb">
							<div class="xxbt">
								<table width="100%" height="24" border="0" align="left" cellpadding="0" cellspacing="0" style="margin-top:3px">
									<tr>
										<td width="14%" align="center" valign="top"><strong>新闻列表</strong></td>
										<td width="52%" align="right" valign="top">商城新闻：</td>
										<td width="23%" align="left" valign="top"><input name="textfield2" type="text" class="wby1"></td>
										<td width="11%" align="left" valign="bottom">&nbsp;<img src="${model._contextPath}/web/resources/images/ssan.jpg" width="63" height="24"></td>
									</tr>
								</table>
							</div>
							<div>
								<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="nr">
									<tr>
										<td  height="330" valign="top">
											<ul id="subject">
											</ul>
											<div id="mypaging" class="mypages"></div>
										</td>
									</tr>
								</table>
							</div>
						</div>
					</div>
				</div>
			</div>
				<div width="100%" height="127">
					<#include "controls/footer.ftl">
				</div>
			</div>
		</div>
    </body>
</html>